// 此文件专门用于操作token的
const key = 'key_token'
// 保存token
export const setToken = (token) => {
  localStorage.setItem(key, token || '')
}
// 获取token
export const getToken = () => {
  return localStorage.getItem(key)
}
// 删除token
export const removeToken = (key) => {
  return localStorage.removeItem(key)
}
